import request from '@/utils/request'

export function updateGroup(data) {
    return request({
      url: '/hawk-eye/group/update',
      method: 'put',
      data: data
    })
  }

  export function addGroup(data) {
    return request({
      url: '/hawk-eye/group/save',
      method: 'post',
      data: data
    })
  }

  
export function removeGroup(id) {
    return request({
      url: '/hawk-eye/group/remove/' + id,
      method: 'delete'
    })
  }